let  userModel  = require("../model/userTable");

module.exports = {
    userQuery:(params)=>{
        return  userModel.find(params);
    },
    userAdd:(data)=>{
        return  userModel.insertMany([data]);
    },
    userAddMany:(list)=>{
        return  userModel.insertMany(list);
    }
}